package com.etennis.constants;

/**
 * @program: ETennis
 * @ClassName: IOEnum
 * @description:0为用户头像图片，1为俱乐部头像图片，2为商品图片，3为视频
 * @author: kai
 * @create: 2024-10-27 15:07
 */
public enum IOEnum {
    IS_USER_AVATAR(0,"USER_AVATAR"),
    IS_CLUB_AVATAR(1,"CLUB_ICON"),
    IS_MEDIA(3,"MEDIA"),
    IS_NOTICE(4,"NOTICE"),
    IS_COMMODITY(2,"GOOD_PIC") ;
    String msg;
    int code;
    IOEnum(int code,String msg) {
        this.code=code;
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public int getCode() {
        return code;
    }

    IOEnum(String msg, int code) {
        this.msg = msg;
        this.code = code;
    }
}
